/*********************************************************************
	Rhapsody	: 7.5.2
	Login		: dan
	Component	: TPkg_RobotController_Comp
	Configuration 	: DefaultConfig
	Model Element	: DummyDriver_of_RobotController
//!	Generated Date	: Sat, 18, Dec 2010 
	File Path	: TPkg_RobotController_Comp/DefaultConfig/TPkg_RobotController/DummyDriver_of_RobotController.java
*********************************************************************/

package TPkg_RobotController;

//## dependency RobotPkg 
import RobotPkg.*;
//## link itsRobotController 
import RobotPkg.RobotController;
//## auto_generated
import org.btc.TestConductor.TestConductor;
//## auto_generated
import com.ibm.rational.rhapsody.animation.*;
//## auto_generated
import com.ibm.rational.rhapsody.animcom.animMessages.*;

//----------------------------------------------------------------------------
// TPkg_RobotController/DummyDriver_of_RobotController.java                                                                  
//----------------------------------------------------------------------------

//## package TPkg_RobotController 


//## class DummyDriver_of_RobotController 
public class DummyDriver_of_RobotController implements Animated {
    
    protected RobotController itsRobotController;		//## link itsRobotController 
    
    //#[ ignore
    // Instrumentation attributes (Animation)
    private Animate animate;
    
    public static AnimClass animClassDummyDriver_of_RobotController = new AnimClass("TPkg_RobotController.DummyDriver_of_RobotController",false);
    //#]
    
    
    // Constructors
    
    //## auto_generated 
    public  DummyDriver_of_RobotController() {
        try {
            animInstance().notifyConstructorEntered(animClassDummyDriver_of_RobotController.getUserClass(),
               new ArgData[] {
               });
        
        }
        finally {
            animInstance().notifyMethodExit();
        }
        
    }
    
    //## auto_generated 
    public RobotController getItsRobotController() {
        return itsRobotController;
    }
    
    //## auto_generated 
    public void setItsRobotController(RobotController p_RobotController) {
        itsRobotController = p_RobotController;
        if(p_RobotController != null)
            {
                animInstance().notifyRelationAdded("itsRobotController", p_RobotController);
            }
        else
            {
                animInstance().notifyRelationCleared("itsRobotController");
            }
    }
    
    //#[ ignore
    /**  see com.ibm.rational.rhapsody.animation.Animated interface */
    public AnimClass getAnimClass() { 
        return animClassDummyDriver_of_RobotController; 
    }
    /**  see com.ibm.rational.rhapsody.animation.Animated interface */
    public Object getFieldValue(java.lang.reflect.Field f, Object userInstance) { 
         Object obj = null;
         try {
             obj = f.get(userInstance);
         } catch(Exception e) {
              System.err.println("Exception: getting Field value: " + e);
              e.printStackTrace();
         }
         return obj;
    }
    /**  see com.ibm.rational.rhapsody.animation.Animated interface */
    public AnimInstance animInstance() {
        if (animate == null) 
            animate = new Animate(); 
        return animate; 
    } 
    /**  see com.ibm.rational.rhapsody.animation.Animated interface */
    public void addAttributes(AnimAttributes msg) {
        
    }
    /**  see com.ibm.rational.rhapsody.animation.Animated interface */
    public void addRelations(AnimRelations msg) {
        
        msg.add("itsRobotController", false, true, itsRobotController);
    }
    /** An inner class added as instrumentation for animation */
    public class Animate extends AnimInstance { 
        public  Animate() { 
            super(DummyDriver_of_RobotController.this); 
        } 
        public void addAttributes(AnimAttributes msg) {
            DummyDriver_of_RobotController.this.addAttributes(msg);
        }
        public void addRelations(AnimRelations msg) {
            DummyDriver_of_RobotController.this.addRelations(msg);
        }
        
    } 
    //#]
    
}
/*********************************************************************
	File Path	: TPkg_RobotController_Comp/DefaultConfig/TPkg_RobotController/DummyDriver_of_RobotController.java
*********************************************************************/

